Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rdf-ext

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rdf-ext

Extended Linked Data module

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20K
decreased by-53.72%
Maintainers
1
Weekly downloads
 
Created
Source

RDF Interfaces Extension

Attention: a lot of work has gone through rdf-ext 0.3.0 and it doesn't match this documentation. Right now you can have a look at the tests and at the different packages under the rdf-ext organization. Documentation will be updated soon

Build Status NPM Version

RDF-Ext provides a JavaScript library for working with RDF & Linked Data. This module contains the core classes to handle RDF Model data. Additional modules may be required to handle data in different formats (Turtle, JSON-LD, RDF/XML) or stores (LDP, SPARQL). The module section lists the most common modules.

Usage

In general, consult the API documentation for details about how to interact with the library.

node.js

RDF-Ext is available on npm, to install it run:

npm install rdf-ext

In the code, import RDF-Ext:

var rdf = require('rdf-ext');

Browser

Just import the RDF-Ext distribution:

<script src="/js/rdf-ext.js"></script>
Distribution

You can download a prebuilt or custom distribution from the RDF-Ext distribution builder site. The RDF-Ext distribution builder also offers a command line interface to build custom distributions.

Browserify

If you build your application with Browserify, RDF-Ext can be bundled flawless.

Support

Issues & feature requests should be reported on Github.

Pull requests are very welcome.

Modules

There are many modules for parsing, serializing, stores for persistence and simplified data handling.

Parsers

Serializers

  • Abstract - Can be used to implement own serializers
  • JSON-LD - Outputs JSON-LD in flat document form
  • N-Triples - Uses the .toNT() method to serialize N-Triples
  • Turtle - Uses N3.js for serializing
  • SPARQL Update - Generates INSERT DATA SPARQL updates

Stores

  • Abstract - Abstract implementation, can be used to build your own store
  • ACL wrapper - Add ACL support to your RDF store
  • File system - Using the file system
  • In Memory - Store loaded in memomory
  • LDP - Query an external Linked Data Platform via RESTful HTTP requests
  • Local/Remote - Uses a local store or a remote store depending on the IRI
  • Multistore - Use multiple store depending on the IRI
  • Single graph (memory) - Store has only a single graph
  • SPARQL - Uses the Graph Store HTTP Protocol interface

Others

  • Clownface - Simple but powerful graph traversing library
  • Common Formats - Loads parsers and serializers for the most common formats
  • SimpleRDF - Simple but powerful graph to object mapping

Keywords

FAQs

Package last updated on 14 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc